const feedback = () => import("views/feedback/feedback"); //意见反馈
const question = () => import("views/question/question"); //常见问题
const questionDetail = () => import("views/question/questionDetail"); //常见问题详情
const webpage = () => import("views/webpage/webpage"); //自定义page页面
const previewTemplate = () => import("views/previewTemplate/previewTemplate"); //自定义预览
const offline = () => import("views/offline/offline"); //店铺打烊
const unAuth = () => import("views/unAuth/unAuth"); //无权限跳转的页面
export default [
  {
    path: "/feedback",
    component: feedback,
    meta: {
      title: "意见反馈",
      requireAuth: true, // 添加该字段，表示进入这个路由是需要登录的
      keepAlive: false, //添加该字段，表示需要不缓存
      showHeadBox: true, //显示HeadBox组件
      titleName: "意见反馈", //HeadBox组件中间显示的文字
    },
  },
  {
    path: "/question",
    component: question,
    meta: {
      title: "常见问题",
      keepAlive: true, //添加该字段，表示需要缓存
      showHeadBox: true, //显示HeadBox组件
      titleName: "常见问题", //HeadBox组件中间显示的文字
    },
  },
  {
    path: "/questionDetail",
    component: questionDetail,
    meta: {
      title: "常见问题",
      keepAlive: true, //添加该字段，表示需要缓存
      showHeadBox: true, //显示HeadBox组件
      titleName: "详情", //HeadBox组件中间显示的文字
    },
  },
  {
    path: "/webpage",
    component: webpage,
    meta: {
      title: "装修预览【预览】",
    },
  },
  {
    path: "/previewTemplate",
    component: previewTemplate,
    meta: {
      title: "模板预览【勿动】",
    },
  },
  {
    path: "/unAuth",
    component: unAuth,
    meta: {
      title: "无权限",
    },
  },
];
